import { Column, Entity, PrimaryColumn } from 'typeorm'
import { BaseEntity } from './BaseEntity'

@Entity({ name: 't_user' })
export class UserInfo extends BaseEntity {
  // 唯一标识
  @PrimaryColumn({ type: 'text' }) id: string | undefined

  @Column({ type: 'text' }) userName: string | undefined

  @Column({ type: 'text' ,nullable:true}) nickName: string | undefined
}
